<div id="products">
  <div class="productsTitle">
    <%= link_to @shop.name, categors_path(:shop_id => @shop.id), :class => "productsShopLink" %>
    <span class="productsShopCategorDelimiter"><%= t "#{@page["name"]}.delimiter" %></span>
    <span class="productsCategorName"><%= @categor.name %></span>
  </div>
  <% @products.each do |product| %>
    <div class="productContainer">
      <div class="productPhoto">
        <%= image_tag(product.photo.url, :alt => product.name) %>
      </div>
      <div class="productWrapper">
        <div class="productName">
          <%= product.name %>
        </div>
        <div class="productDescription">
          <%= product.description %>
        </div>
        <div class="productPrice">
          <%= product.price %>
        </div>
        <div class="productParameters">
          <input class="productId" type="hidden" value="<%= product.id %>"/>
          <%= quantity(:quantity_increase => "productQuantityIncrease", :quantity_decrease => "productQuantityDecrease") do %>
            <input class="productQuantity" type="text" size="1"/>
          <% end %>
        </div>
      </div>
      <div class="productBuy"><%= t "site.cart.buy" %></div>
    </div>
  <% end %>
</div>